




add_definitions("-D__KERNEL__")

file(GLOB_RECURSE SRC_LIST ${CMAKE_CURRENT_LIST_DIR}/*/*.c)

add_library(linux ${SRC_LIST})
target_include_directories(linux
        PUBLIC include
        PUBLIC arch/x86/include)

file(GLOB_RECURSE INTEL_SRC ${CMAKE_CURRENT_LIST_DIR}/lib/intel/*.c)
add_library(intel ${INTEL_SRC})
target_include_directories(intel
        PUBLIC include
        PUBLIC ${CMAKE_CURRENT_LIST_DIR}/lib/intel)



